/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: PayChannelEnum
 * Author:   zhouheng
 * Date:     2019/5/15 0:19
 * Description: 支付渠道枚举
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.star.pay.service.core.common;

/**
 * 〈一句话功能简述〉<br> 
 * 〈支付渠道枚举〉
 *
 * @author zhouheng
 * @create 2019/5/15
 * @since 1.0.0
 */
public enum PayChannelEnum {
    ALI_PAY("alipay","微信支付渠道"),
    WECHAT_PAY("wechat_pay","微信支付渠道");

    private String code;
    private String desc;

    PayChannelEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "PayChannelEnum{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}